//
//  WhereViewController.h
//  SpendFunk
//
//  Created by dongmh on 5/6/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface WhereViewController : UIViewController <UITableViewDelegate, UITableViewDataSource,UISearchBarDelegate>{
	
	UIButton *m_pBtnBack;
	UITableView *m_pTblePlaces;  // Table to show place items
	UISearchBar *m_pSearchBar;	 // Search bar for search places	
	NSArray *m_pArrPlaceItems; // Array of place items
	NSMutableArray *copyListOfItems;  // copy of m_pArrPlaceItems for searching
	int countPlaces;				  // Count of m_pArrPlaces	
	BOOL searching;					  // If searching set to YES, other wide set NO			
	BOOL letUserSelectRow;			// Allow user select row set YES, othe wide set NO	
	BOOL rowCheckedWh; 
}
- (void)initView;
- (void)onBackClick;
- (void)searchTableView;
- (void)setArrPlaces:(NSArray*)arrPlaces;
@end
